package ${projectConfig.basePackage}.${config.model}.mapper.gen;

import ${projectConfig.beanPackage}.${config.model}.bean.bo.gen.${config.objectName};
import java.util.List;
import java.util.Map;
import org.apache.ibatis.annotations.Mapper;

@org.apache.ibatis.annotations.Mapper
public interface ${config.objectName}Mapper{
<#list method as methodp>
  <#if methodp.outType == "String">
	String ${methodp.name}(Map conditionMap);
  <#elseif methodp.outType == "Integer">
	int ${methodp.name}(<#if methodp.inType??><#if methodp.inType=="Object">${config.objectName} ${config.objectName?uncap_first}<#else>Map conditionMap</#if><#else>Map conditionMap</#if>);
  <#elseif methodp.outType == "ListInteger">
	List<Integer> ${methodp.name}(Map conditionMap);
	int ${methodp.name}Count(Map conditionMap);
  <#elseif methodp.outType == "ListLong">
	List<Long> ${methodp.name}(Map conditionMap);
	int ${methodp.name}Count(Map conditionMap);
  <#elseif methodp.outType == "ListString">
	List<String> ${methodp.name}(Map conditionMap);
	int ${methodp.name}Count(Map conditionMap);
  <#elseif methodp.outType == "Object">
	${config.objectName} ${methodp.name}(Map conditionMap);
  <#elseif methodp.outType == "Map">
	Map ${methodp.name}(Map conditionMap);
  <#elseif methodp.outType == "ListObject">
	List<${config.objectName}> ${methodp.name}(Map conditionMap);
	int ${methodp.name}Count(Map conditionMap);
  <#elseif methodp.outType == "ListMap">
      List<Map<String,Object>> ${methodp.name}(Map conditionMap);
      int ${methodp.name}Count(Map conditionMap);
  </#if>
</#list>
}